package com.khyr.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName sys_login_info
 */
@TableName(value ="sys_login_info")
@Data
public class LoginInfo implements Serializable {
    private Long infoId;

    private String userName;

    private String loginAccount;

    private String ipAddr;

    private String loginLocation;

    private String browser;

    private String os;

    private String loginStatus;

    private String loginType;

    private String msg;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date loginTime;

    private static final long serialVersionUID = 1L;
}